package com.cos.lession69.dao;

import com.cos.lession69.entity.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: COS
 * @time: 2022/9/23 9:45
 * @description:
 */
public interface EmpMapper {
    List<Emp> getAll();

    Emp getEmpByEno(@Param("eno") Integer eno);

    int deleteEmp(@Param("eno") Integer eno);

    List<Emp> getEmpByKey(@Param("ename")String ename);

}
